package com.vcredit.creditcat.service;
import java.util.List;

import com.vcredit.creditcat.model.ChanneManVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.vcredit.creditcat.model.ChannelStatisticsOwner;
import com.vcredit.creditcat.persistence.base.ChannelStatisticsOwnerMapper;
/**
 * 
 **/
@Service
public class ChannelStatisticsOwnerService {
	@Autowired
    private ChannelStatisticsOwnerMapper mapper;
    
    public void insert(ChannelStatisticsOwner obj){
    	mapper.insert(obj);
    }
    
    public void update(ChannelStatisticsOwner obj){
    	mapper.update(obj);
    }
    
    public List<ChannelStatisticsOwner> findAll(){
		return mapper.findAll();
	}
	
	public List<ChannelStatisticsOwner> find(ChannelStatisticsOwner obj){
		return mapper.find(obj);
	}
	//每天定时任务数据库插入数据
	public void insertData(){mapper.insertData();}
}